//package com.example.auth.runner;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.boot.CommandLineRunner;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
///**
// * 项目启动时，初始化数据
// */
//@Component
//@Slf4j
//public class RedisRunner implements CommandLineRunner {
//
//    @Resource
//    private IRoleService iRoleService;
//
//    @Override
//    public void run(String... args) throws Exception {
//        log.info("初始化redis的角色数据");
//        List<RolePO> list = iRoleService.getRoleList();
//        list.forEach(item->{
//
//        });
//    }
//}
